[INFO] cloning repository https://github.com/jianglibo/play-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jianglibo/play-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjianglibo%2Fplay-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjianglibo%2Fplay-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 22f88bc8e01591254bccda84743424602eff78aa
[INFO] building jianglibo/play-rs against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjianglibo%2Fplay-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jianglibo/play-rs on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jianglibo/play-rs
[INFO] finished tweaking git repo https://github.com/jianglibo/play-rs
[INFO] tweaked toml for git repo https://github.com/jianglibo/play-rs written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/jianglibo/play-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 328d6f4d65d8e54dcd8fd400708117209a81aa2e958bf283644f19f779be4f85
[INFO] running `Command { std: "docker" "start" "-a" "328d6f4d65d8e54dcd8fd400708117209a81aa2e958bf283644f19f779be4f85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "328d6f4d65d8e54dcd8fd400708117209a81aa2e958bf283644f19f779be4f85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "328d6f4d65d8e54dcd8fd400708117209a81aa2e958bf283644f19f779be4f85", kill_on_drop: false }`
[INFO] [stdout] 328d6f4d65d8e54dcd8fd400708117209a81aa2e958bf283644f19f779be4f85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5ed9d7b192b380ba92d0b1f635ba08e4baba2b639672dae8019afefcfa22e33
[INFO] running `Command { std: "docker" "start" "-a" "f5ed9d7b192b380ba92d0b1f635ba08e4baba2b639672dae8019afefcfa22e33", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.2
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.3
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling futures v0.1.25
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling tokio-executor v0.1.6
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling bytes v0.4.11
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling cc v1.0.29
[INFO] [stderr]    Compiling tokio-io v0.1.11
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling ident_case v1.0.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.8
[INFO] [stderr]    Compiling darling_core v0.8.5
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling backtrace v0.3.14
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling httparse v1.3.3
[INFO] [stderr]    Compiling serde v1.0.88
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling crossbeam-deque v0.6.3
[INFO] [stderr]    Compiling tokio-reactor v0.1.8
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]    Compiling crossbeam-channel v0.3.8
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rustc-demangle v0.1.13
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling ucd-util v0.1.3
[INFO] [stderr]    Compiling safemem v0.3.0
[INFO] [stderr]    Compiling regex v1.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.5
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.88
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling crossbeam v0.6.0
[INFO] [stderr]    Compiling aho-corasick v0.6.9
[INFO] [stderr]    Compiling darling_macro v0.8.5
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling utf8-ranges v1.0.2
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling derive_builder v0.7.1
[INFO] [stderr]    Compiling humantime v1.2.0
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling hyper v0.10.15
[INFO] [stderr]    Compiling tokio-threadpool v0.1.11
[INFO] [stderr]    Compiling darling v0.8.5
[INFO] [stderr]    Compiling derive_builder_core v0.4.1
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling inotify-sys v0.1.3
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling remove_dir_all v0.5.1
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling termcolor v1.0.4
[INFO] [stderr]    Compiling tempfile v3.0.7
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]    Compiling websocket v0.22.2
[INFO] [stderr]    Compiling env_logger v0.6.0
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling inotify v0.6.1
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-fs v0.1.5
[INFO] [stderr]    Compiling which v2.0.1
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling tokio-udp v0.1.3
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling mio-extras v2.0.5
[INFO] [stderr]    Compiling tokio-timer v0.2.10
[INFO] [stderr]    Compiling tokio-current-thread v0.1.4
[INFO] [stderr]    Compiling tokio-sync v0.1.1
[INFO] [stderr]    Compiling filetime v0.2.4
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling tokio v0.1.15
[INFO] [stderr]    Compiling notify v4.0.9
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.38
[INFO] [stderr]    Compiling headless_chrome v0.1.3
[INFO] [stderr]    Compiling play-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unicode codepoint changing visible direction of text present in comment
[INFO] [stdout]   --> src/tests/test_hex.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         // 10000000 -> 0x80 //0x7FF
[INFO] [stdout]    |         ^^^^^^^^^^^-^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |          |
[INFO] [stdout]    |         |          '\u{202c}'
[INFO] [stdout]    |         this comment contains an invisible unicode text flow control codepoint
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(text_direction_codepoint_in_comment)]` on by default
[INFO] [stdout]    = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen
[INFO] [stdout]    = help: if their presence wasn't intentional, you can remove them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `SubCommand`
[INFO] [stdout]   --> src/main.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::{App, SubCommand, Shell};
[INFO] [stdout]    |            ^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `IO_ERROR` should have an upper camel case name
[INFO] [stdout]  --> src/tests/test_file.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     IO_ERROR(std::io::Error), //std::io::Error
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to upper camel case: `IoError`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/code_util.rs:68:20
[INFO] [stdout]    |
[INFO] [stdout] 68 |         0x0000_0000...0x0000_007F => Some(vec![cp as u8]),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/code_util.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |         0x0000_0080...0x0000_07FF => {
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/code_util.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 76 |         0x0000_0800...0x0000_FFFF => {
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/code_util.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |         0x0001_0000...0x010_FFFF => {
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |         b'0'...b'9' => Some(b - b'0'),
[INFO] [stdout]     |             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |         b'a'...b'f' => Some(b - b'a' + 10),
[INFO] [stdout]     |             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |         b'A'...b'F' => Some(b - b'A' + 10),
[INFO] [stdout]     |             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         b'0'...b'9' => Some(b - b'0'),
[INFO] [stdout]     |             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         b'a'...b'f' => Some(b - b'a' + 10),
[INFO] [stdout]     |             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         b'A'...b'F' => Some(b - b'A' + 10),
[INFO] [stdout]     |             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:218:21
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => {
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:218:35
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => {
[INFO] [stdout]     |                                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:218:49
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => {
[INFO] [stdout]     |                                                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:229:40
[INFO] [stdout]     |
[INFO] [stdout] 229 |         (Some(BSL), Some(XC), Some(b'0'...b'9'))
[INFO] [stdout]     |                                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:230:42
[INFO] [stdout]     |
[INFO] [stdout] 230 |         | (Some(BSL), Some(XC), Some(b'a'...b'f'))
[INFO] [stdout]     |                                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:231:42
[INFO] [stdout]     |
[INFO] [stdout] 231 |         | (Some(BSL), Some(XC), Some(b'A'...b'F')) => match it {
[INFO] [stdout]     |                                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:232:17
[INFO] [stdout]     |
[INFO] [stdout] 232 |             b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => {
[INFO] [stdout]     |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:232:31
[INFO] [stdout]     |
[INFO] [stdout] 232 |             b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => {
[INFO] [stdout]     |                               ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/code_util.rs:232:45
[INFO] [stdout]     |
[INFO] [stdout] 232 |             b'0'...b'9' | b'a'...b'f' | b'A'...b'F' => {
[INFO] [stdout]     |                                             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::code_util::get_hex_pairs`
[INFO] [stdout]  --> src/gb18030.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::code_util::get_hex_pairs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gb18030.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |             0x00...0x7F => Ok(char::from_u32(u32::from(current_byte)).unwrap()), // state keep empty.
[INFO] [stdout]    |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gb18030.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |             0x81...0xFE => match current_byte {
[INFO] [stdout]    |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gb18030.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 0x40...0x7E | 0x80...0xFE => { // a valid gb18030
[INFO] [stdout]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gb18030.rs:92:35
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 0x40...0x7E | 0x80...0xFE => { // a valid gb18030
[INFO] [stdout]    |                                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb18030.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 0x30...0x39 => { // maybe a four byte gb18030
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb18030.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |             0x81...0xFE => {
[INFO] [stdout]     |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/gb18030.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |             0x30...0x39 => {
[INFO] [stdout]     |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future::lazy`
[INFO] [stdout]  --> src/dir_watcher_stream.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures::future::lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/real_world.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use tokio::io;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]   --> src/main.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tokio::net::{TcpStream, TcpListener};
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::net::SocketAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `App` is imported redundantly
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::{App, SubCommand, Shell};
[INFO] [stdout]    |            --- the item `App` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 61 |     use clap::App;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zero`
[INFO] [stdout]   --> src/dir_watcher_stream.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |         if let Some((zero, path_part)) = rest.split_first() {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_zero`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let mut port = if let Some(inner_port) = sub_matches.value_of("port") {
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Continue` and `Impossible` are never constructed
[INFO] [stdout]   --> src/tests/test_file.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum SuccessionMatchError {
[INFO] [stdout]    |          -------------------- variants in this enum
[INFO] [stdout] 19 |     Continue,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 20 |     Impossible,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `SuccessionMatchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SuccessionMatchResult` is never used
[INFO] [stdout]   --> src/tests/test_file.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | type SuccessionMatchResult = Result<u32, SuccessionMatchError>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SuccessionGroup` is never used
[INFO] [stdout]   --> src/tests/test_file.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | type SuccessionGroup = Vec<(u32, (u32, u32), (u32, u32))>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_successions` is never used
[INFO] [stdout]   --> src/tests/test_file.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn find_successions<T: AsRef<Path>>(fp: T) -> Result<SuccessionGroup, FindSeccessionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_log` is never used
[INFO] [stdout]  --> src/tests/tutil.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn init_log() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_out_file` is never used
[INFO] [stdout]   --> src/tests/tutil.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn get_out_file<'a, T: AsRef<[&'a str]>>(postfix: T) -> std::io::Result<PathBuf> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_src_file` is never used
[INFO] [stdout]   --> src/tests/tutil.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_src_file<'a, T: AsRef<[&'a str]>>(postfix: T) -> std::io::Result<PathBuf> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `THREE_1_POST_U32` is never used
[INFO] [stdout]  --> src/code_util.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const THREE_1_POST_U32: u32 = 0b0000_0111;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOUR_1_POST_U32` is never used
[INFO] [stdout]  --> src/code_util.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const FOUR_1_POST_U32: u32 = 0b0000_1111;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIVE_1_POST_U32` is never used
[INFO] [stdout]  --> src/code_util.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const FIVE_1_POST_U32: u32 = 0b0001_1111;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIX_1_POST_U32` is never used
[INFO] [stdout]  --> src/code_util.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const SIX_1_POST_U32: u32 = 0b0011_1111;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ONE_1_PRE_U8` is never used
[INFO] [stdout]  --> src/code_util.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const ONE_1_PRE_U8: u8 = 0b1000_0000;
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TWO_1_PRE_U8` is never used
[INFO] [stdout]  --> src/code_util.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const TWO_1_PRE_U8: u8 = 0b110_00000;
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `THREE_1_PRE_U8` is never used
[INFO] [stdout]  --> src/code_util.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const THREE_1_PRE_U8: u8 = 0b1110_0000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOUR_1_PRE_U8` is never used
[INFO] [stdout]  --> src/code_util.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const FOUR_1_PRE_U8: u8 = 0b1111_0000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIX_1_POST_U8` is never used
[INFO] [stdout]   --> src/code_util.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const SIX_1_POST_U8: u8 = 0b0011_1111;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIVE_1_POST_U8` is never used
[INFO] [stdout]   --> src/code_util.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const FIVE_1_POST_U8: u8 = 0b0001_1111;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOUR_1_POST_U8` is never used
[INFO] [stdout]   --> src/code_util.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const FOUR_1_POST_U8: u8 = 0b0000_1111;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `THREE_1_POST_U8` is never used
[INFO] [stdout]   --> src/code_util.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const THREE_1_POST_U8: u8 = 0b0000_0111;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BitNum` is never used
[INFO] [stdout]   --> src/code_util.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum BitNum {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `utf8_to_codepoint` is never used
[INFO] [stdout]   --> src/code_util.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn utf8_to_codepoint<T: AsRef<[u8]>>(utf8_as: T) -> Option<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `codepoint_to_utf8` is never used
[INFO] [stdout]   --> src/code_util.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn codepoint_to_utf8(cp: u32) -> Option<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bits` is never used
[INFO] [stdout]   --> src/code_util.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn get_bits(i: u32, bn: BitNum) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_str_to_u32` is never used
[INFO] [stdout]    --> src/code_util.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn hex_str_to_u32<T: AsRef<[u8]>>(hex_as: T) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_str_to_u32_v1` is never used
[INFO] [stdout]    --> src/code_util.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn hex_str_to_u32_v1(hex_str: &str) -> Option<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TripleOptionU8` is never used
[INFO] [stdout]    --> src/code_util.rs:149:6
[INFO] [stdout]     |
[INFO] [stdout] 149 | type TripleOptionU8 = (Option<u8>, Option<u8>, Option<u8>);
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Continue`, `Impossible` and `Discard` are never constructed
[INFO] [stdout]    --> src/code_util.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub enum MayBeMatchError {
[INFO] [stdout]     |          --------------- variants in this enum
[INFO] [stdout] 153 |     Continue,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 154 |     Impossible,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 155 |     Discard(Vec<u8>),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MayBeMatchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ScanResult` is never used
[INFO] [stdout]    --> src/code_util.rs:158:6
[INFO] [stdout]     |
[INFO] [stdout] 158 | type ScanResult = Result<Vec<u8>, MayBeMatchError>;
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BSL` is never used
[INFO] [stdout]    --> src/code_util.rs:160:7
[INFO] [stdout]     |
[INFO] [stdout] 160 | const BSL: u8 = b'\\';
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XC` is never used
[INFO] [stdout]    --> src/code_util.rs:161:7
[INFO] [stdout]     |
[INFO] [stdout] 161 | const XC: u8 = b'x';
[INFO] [stdout]     |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aton_1` is never used
[INFO] [stdout]    --> src/code_util.rs:163:8
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub fn aton_1(b: u8) -> Option<u8> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aton_1_v1` is never used
[INFO] [stdout]    --> src/code_util.rs:173:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub fn aton_1_v1(b: &u8) -> Option<u8> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aton_2` is never used
[INFO] [stdout]    --> src/code_util.rs:182:4
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn aton_2(a: u8, b: u8) -> Option<u8> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_2_hex_pair` is never used
[INFO] [stdout]    --> src/code_util.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn find_2_hex_pair(state: &mut TripleOptionU8, it: u8) -> ScanResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_hex_pairs` is never used
[INFO] [stdout]    --> src/code_util.rs:251:12
[INFO] [stdout]     |
[INFO] [stdout] 251 |     pub fn get_hex_pairs(a_slice: &[u8]) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `code_point_to_gb18030_4b` is never used
[INFO] [stdout]   --> src/gb18030.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn code_point_to_gb18030_4b(cp: u32) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gb18030_4b_to_code_point` is never used
[INFO] [stdout]   --> src/gb18030.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn gb18030_4b_to_code_point<T: AsRef<[u8]>>(gb4: T) -> Option<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TripleOptionU8` is never used
[INFO] [stdout]   --> src/gb18030.rs:67:6
[INFO] [stdout]    |
[INFO] [stdout] 67 | type TripleOptionU8 = (Option<u8>, Option<u8>, Option<u8>);
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Continue`, `Impossible` and `Discard` are never constructed
[INFO] [stdout]   --> src/gb18030.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub enum MayBeMatchError {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] 71 |     Continue,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 72 |     Impossible,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 73 |     Discard(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MayBeMatchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CharResult` is never used
[INFO] [stdout]   --> src/gb18030.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 | type CharResult = Result<char, MayBeMatchError>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_get_char` is never used
[INFO] [stdout]   --> src/gb18030.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn try_get_char(state: &mut TripleOptionU8, current_byte: u8) -> CharResult {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GBK_UNI` is never used
[INFO] [stdout]  --> src/table.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const GBK_UNI: &[u32] = &[
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `watcher` is never read
[INFO] [stdout]   --> src/dir_watcher_stream.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct DirWatcher {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     watcher: RecommendedWatcher,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `event_code`, `file_path` and `after_path` are never read
[INFO] [stdout]   --> src/dir_watcher_stream.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct FileChangeEvent<'a> {
[INFO] [stdout]    |        --------------- fields in this struct
[INFO] [stdout] 53 |     event_code: &'a u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 54 |     file_path: Option<&'a str>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 55 |     after_path: Option<&'a str>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FileChangeEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_msg` is never used
[INFO] [stdout]   --> src/dir_watcher_stream.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn decode_msg<'a>(vec_of_u8: &'a Vec<u8>) -> Option<FileChangeEvent<'a>> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/dir_watcher_stream.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(watch_target: &str, debounce_duration: Duration, interval_duration: Duration, recursive_mode: RecursiveMode /*, app_state:...
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `entry` is never used
[INFO] [stdout]   --> src/real_world.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn entry() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sleep` is never used
[INFO] [stdout]   --> src/real_world.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn sleep(ms: u64) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_secrets` is never used
[INFO] [stdout]   --> src/real_world.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn parse_secrets() -> Result<toml::Value, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rand_ascii` is never used
[INFO] [stdout]   --> src/real_world.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn rand_ascii() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_browser_and_tab` is never used
[INFO] [stdout]   --> src/real_world.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn default_browser_and_tab() -> (Browser, Arc<Tab>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `browse_wikipedia` is never used
[INFO] [stdout]   --> src/real_world.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn browse_wikipedia() -> Result<(), Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_in_to_digital_pigeon` is never used
[INFO] [stdout]   --> src/real_world.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn log_in_to_digital_pigeon() -> Result<(), Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_in_to_fastmail_and_send_email` is never used
[INFO] [stdout]    --> src/real_world.rs:180:4
[INFO] [stdout]     |
[INFO] [stdout] 180 | fn log_in_to_fastmail_and_send_email() -> Result<(), Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_in_to_dropbox` is never used
[INFO] [stdout]    --> src/real_world.rs:221:4
[INFO] [stdout]     |
[INFO] [stdout] 221 | fn log_in_to_dropbox(tab: &Tab) -> Result<(), Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wikipedia` is never used
[INFO] [stdout]    --> src/real_world.rs:240:4
[INFO] [stdout]     |
[INFO] [stdout] 240 | fn wikipedia() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fastmail` is never used
[INFO] [stdout]    --> src/real_world.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn fastmail() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `digital_pigeon` is never used
[INFO] [stdout]    --> src/real_world.rs:248:4
[INFO] [stdout]     |
[INFO] [stdout] 248 | fn digital_pigeon() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dropbox` is never used
[INFO] [stdout]    --> src/real_world.rs:252:4
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn dropbox() {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_until_true` is never used
[INFO] [stdout]    --> src/real_world.rs:261:8
[INFO] [stdout]     |
[INFO] [stdout] 261 | pub fn wait_until_true<F>(predicate: F, wait_options: WaitOptions) -> Result<(), Error>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WaitOptions` is never constructed
[INFO] [stdout]    --> src/real_world.rs:284:12
[INFO] [stdout]     |
[INFO] [stdout] 284 | pub struct WaitOptions {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wait_for` is never used
[INFO] [stdout]    --> src/real_world.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn wait_for<F, G>(predicate: F, wait_options: WaitOptions) -> Result<G, Error>
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 101 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `play-rs` due to 2 previous errors; 101 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f5ed9d7b192b380ba92d0b1f635ba08e4baba2b639672dae8019afefcfa22e33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5ed9d7b192b380ba92d0b1f635ba08e4baba2b639672dae8019afefcfa22e33", kill_on_drop: false }`
[INFO] [stdout] f5ed9d7b192b380ba92d0b1f635ba08e4baba2b639672dae8019afefcfa22e33
